
#![allow(dead_code)]
enum Status {
    Rich, 
    Poor,
}
enum Work {
    Civilian,
    Soldier,
}

pub fn main(){
    use self::Status::{Poor, Rich};

    let status = Poor;
    match status {
        Rich => println!("The rich have lots of money!"),
        Poor => println!("The poor have no money!"),
    }


    use self::Work::*;
    let work = Civilian;
    match work {
        Civilian => println!("Clivilians work!"),
        Soldier => println!("Soldiers fight!"),
    }
}

